package top.alanshelby.service.impl;

import top.alanshelby.service.UserService;

public class AdminServiceImpl implements UserService {

    private String id;

    private String name;

    @Override
    public void saveUser() {
        System.out.println("用户编码：" + id + ";   用户名：" + name);
    }

//    public AdminServiceImpl(String id, String name) {
//        this.id = id;
//        this.name = name;
//    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
}
